package com.ruoyi.qywx.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @author : hcl
 * @Date : 2023/9/6 14:18
 */
@TableName("qy_external_group_chat")
@Data
public class ExtGroupChat {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private Long teamId;
    private String name;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private String wxId;
    private String userId;
    //    群状态1:正常,2:群主离职,3:离职继承中4:解散
    private Integer chatStatus;
    private String notice;
    private Integer total;
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private Date createTime;
    // 会话存档
    private Boolean msgArchive;

}
